{"version":3,"file":"landing-forms.map.js","names":["BX","namespace","slice","Landing","Utils","proxy","bind","addClass","removeClass","isNumber","data","onTransitionEnd","EditTitleForm","node","additionalWidth","isEventTargetNode","display","this","btn","querySelector","label","input","IsWidthSet","hideInput","showInput","setAttribute","offsetHeight","prototype","event","stopPropagation","style","width","offsetWidth","tagName","height","getAttribute","focus","Dom","hasClass","selectionStart","value","length","document","target","textContent","unbind","FieldLengthLimited","list","forEach","item","field","substring","Favicon","editLink","editInput","editValue","editForm","editSrc","editError","e","fireEvent","PreventDefault","ajax","submitAjax","method","dataType","onsuccess","type","result","id","src","color","Custom404And503","select","useField","currentTarget","checked","click","addCustomEvent","getData","checkbox","Copyright","form","copyright","formAction","replace","Access","params","selected","table","name","inc","Init","other","disabled_cr","SetSelected","showForm","ShowForm","callback","obSelected","provider","hasOwnProperty","cnt","rows","row","insertRow","classList","add","insertCell","cells","innerHTML","GetProviderName","util","htmlspecialchars","addEventListener","onRowDelete","link","remove","findParent","tag","Layout","messages","container","areas","layouts","call","querySelectorAll","handleLayoutClick","createBlocks","dataset","block","areasCount","changeLayout","current","arrowContainer","handlerOnArrowClick","tplUse","useCheck","inputs","layoutContainer","contains","blocks","saveRefs","tplRefs","split","layoutBlockContainer","i","create","attrs","className","numberBlock","linkContent","indexOf","parseInt","layoutField","UI","Field","LinkUrl","title","area","content","textOnly","disableCustomURL","disableBlocks","disallowType","enableAreas","allowedTypes","TYPE_PAGE","typeData","button","text","action","contentEditable","settingMode","options","siteId","landingId","filter","onInit","rebuildHiddenField","onInput","onValueChange","appendChild","layout","refs","c","getValue","substr","layoutItem","parentNode","layoutItemSelected","detailLayoutContainer","changeLayoutImg","layoutDetail","ToggleAdditionalFields","isOpen","hiddenRows","convert","nodeListToArray","SELECTOR_ROWS","toggleContainer","SELECTOR_CONTAINER","Event","onToggleClick","window","location","hash","anchor","DATA_ROW_OPTION","highlightHiddenRow","mainOptionRow","DATA_MAIN_OPTION_NAME","highlightRow","DATA_OPTION","DATA_ROW_OPTION_NAME","CLASS_HIGHLIGHT","onHeaderClick","toggleRows","hideRows","showRows","promises","scrollHeight","push","Promise","all","option","detailSelector","detailRow","promiseShow","resolve","then","scrollTo","top","pos","behavior","setTimeout","ExternalMetrika","fieldUseId","fieldSendClickId","fieldSendShowId","disabled","SaveBtn","saveBtn","changeSaveBtn","cursor","pointerEvents","Cookies","bgPickerBtn","textPickerBtn","simplePreview","advancedPreview","positions","inputApp","inputInfo","settings","bgPicker","ColorPicker","bindElement","popupOptions","angle","offsetTop","onColorSelected","onBgColorSelected","colors","setColors","textPicker","onTextColorSelected","setSelectedBgColor","setSelectedTextColor","hideCookiesSettings","bindEvents","position","onSelectCookiesPosition","showBgPicker","showTextPicker","showCookiesSettings","getSelectedColor","open","background","svgList","svg","fill","opacity","B24ButtonColor","typeSelector","colorInput","valueControlWrap","class","checkVisibility","hidden","labels","NeedPublicationField","inputIds","Dialogs","MessageBox","alert","Loc","getMessage","ColorPalette","allColorsNode","customColorNode","colorPickerNode","init","colorItems","children","concat","initSelectableItem","setColor","theme","undefined","getActiveColorNode","active","firstElementChild","onSelectableItemClick","preventDefault","parentElement","hasAttribute","EventEmitter","subscribe","defaultColor","picker","selectedColor","colorIcon","props","insertBefore","colorValue","adjust","clearBtn","insertAfter","show","clear","backgroundColor","emit","setSelectedColor","map","index","arr"],"sources":["landing-forms.js"],"mappings":"CAAA,WAEC,aAEAA,GAAGC,UAAU,cAEb,MAAMC,EAAQF,GAAGG,QAAQC,MAAMF,MAC/B,MAAMG,EAAQL,GAAGG,QAAQC,MAAMC,MAC/B,MAAMC,EAAON,GAAGG,QAAQC,MAAME,KAC9B,MAAMC,EAAWP,GAAGG,QAAQC,MAAMG,SAClC,MAAMC,EAAcR,GAAGG,QAAQC,MAAMI,YACrC,MAAMC,EAAWT,GAAGG,QAAQC,MAAMK,SAClC,MAAMC,EAAOV,GAAGG,QAAQC,MAAMM,KAC9B,MAAMC,EAAkBX,GAAGG,QAAQC,MAAMO,gBAKzCX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